package fr.cpe.dp.projet2.model.shape;

import java.awt.Graphics;

import fr.cpe.dp.projet2.model.algo.IAlgorithm;

public class OvalShape extends AbstractShape {

	@Override
	public void draw(Graphics g, IAlgorithm algorithm) {
		super.draw(g, algorithm);
		g.fillOval(algorithm.getX(), algorithm.getY(), algorithm.getWidth(), algorithm.getHeight());
	}

}
